import request from "../../../untils/request";

Page({
    data: {
        person:{
            username:'abc',
            age:18
        }
    },
    onLoad: function (options) {

    },
    handleGetOpenId(){
        wx.login({
            success:async (res)=>{
                let code =res.code;
                let result =await request('/getOpenIId',{code})
            }

        })
    }
});
